package spring_ioc.hello1.service;

public class ExecuteAction {
	private Action action;
	
	public Action getAction() {
		return action;
	}

	public void setAction(Action action) {
		this.action = action;
	}
	
	public void execute1(String str){
		LowerAction action = new LowerAction("Hi", "How are you");
		action.execute(str);
	}

	public void execute2(String str){
		action.execute(str);
	}
}
